package com.Monica.service;

import com.Monica.pojo.Message;
import com.Monica.pojo.User;

public interface UserService {
    //此处提供User的服务
    //1.检查用户名是否被注册了
    public Message checkUser(String username);
    //2.用户注册
    public Message regist(User user);
    //3.用户登录
    public Message login(User user);
    //4.修改密码
    public Message changePwd(User user,String newpwd);
    //5.注销账户
    public Message destroy(User user);
}
